from django.urls import path

from app01 import views

urlpatterns = [
    # path('admin/', admin.site.urls),
    # path('user/', views.user),
    path(r'register/', views.register, name="register"),  # 注册
    path(r'sendsms/', views.send_sms, name="sendsms"),  # 发送验证码
    path(r'login/sms/', views.login_sms, name="log_sms"),  # 短信登录
    path(r'login/', views.login, name="login"),  # 密码登录
    path(r'image/code/', views.image_code, name="image_code"),  # 图片验证码
    path(r'index/', views.index, name="index"),  # 首页
    path(r'logout/', views.logout, name="logout"),  # 退出
    path(r'project_index/', views.project_index, name="project_index"),  # 项目管理
    path(r'starlabel/', views.starlabel, name="starlabel"),  # 项目收藏
]
